html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#app {
  width: 100%;
  height: 100%;
}

/* transition fade-slide */
.fade-slide-leave-active,
.fade-slide-enter-active {
  transition: all 0.3s;
}

.fade-slide-enter-from {
  opacity: 0;
  transform: translateX(-30px);
}

.fade-slide-leave-to {
  opacity: 0;
  transform: translateX(30px);
}

/* 自定义滚动条样式 */
.cus-scroll {
  overflow: auto;

  &::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }
}

.cus-scroll-x {
  overflow-x: auto;

  &::-webkit-scrollbar {
    width: 0;
    height: 8px;
  }
}

.cus-scroll-y {
  overflow-y: auto;

  &::-webkit-scrollbar {
    width: 8px;
    height: 0;
  }
}

.cus-scroll,
.cus-scroll-x,
.cus-scroll-y {
  &::-webkit-scrollbar-thumb {
    background-color: transparent;
    border-radius: 4px;
  }

  &:hover {
    &::-webkit-scrollbar-thumb {
      background: #bfbfbf;
    }

    &::-webkit-scrollbar-thumb:hover {
      background: var(--primary-color);
    }
  }
}

/* 弹窗样式修改 */
.n-dialog {
  padding: 0;

  .n-dialog__title {
    padding: 10px 20px;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 2px;
  }

  .n-dialog__content {
    padding: 10px 40px;
  }

  .n-dialog__action {
    display: flex;
    flex-direction: row;
    height: 40px;

    .n-button {
      width: 50%;
      height: 100%;
      margin: 0;
      border-radius: 0;
      letter-spacing: 2px;
      text-align: center;
    }
  }
}

.n-menu .n-menu-item-content .n-menu-item-content-header {
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", 微软雅黑, Arial, sans-serif;
  display: inline-block;
  font-size: 14px;
  letter-spacing: 1px;
  margin-left: 10px;
  -webkit-user-select: none;
  user-select: none;
}



* {
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", 微软雅黑, Arial, sans-serif;

  font-size: 14px;
  letter-spacing: 1px;
  // margin-left: 10px;
  -webkit-user-select: none;
  user-select: none;
}